package com.tramy.data.export.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PinShangFactoryExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PinShangFactoryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFactoryCodeIsNull() {
            addCriterion("factory_code is null");
            return (Criteria) this;
        }

        public Criteria andFactoryCodeIsNotNull() {
            addCriterion("factory_code is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryCodeEqualTo(String value) {
            addCriterion("factory_code =", value, "factoryCode");
            return (Criteria) this;
        }

        public Criteria andFactoryCodeNotEqualTo(String value) {
            addCriterion("factory_code <>", value, "factoryCode");
            return (Criteria) this;
        }

        public Criteria andFactoryCodeGreaterThan(String value) {
            addCriterion("factory_code >", value, "factoryCode");
            return (Criteria) this;
        }

        public Criteria andFactoryCodeGreaterThanOrEqualTo(String value) {
            addCriterion("factory_code >=", value, "factoryCode");
            return (Criteria) this;
        }

        public Criteria andFactoryCodeLessThan(String value) {
            addCriterion("factory_code <", value, "factoryCode");
            return (Criteria) this;
        }

        public Criteria andFactoryCodeLessThanOrEqualTo(String value) {
            addCriterion("factory_code <=", value, "factoryCode");
            return (Criteria) this;
        }

        public Criteria andFactoryCodeLike(String value) {
            addCriterion("factory_code like", value, "factoryCode");
            return (Criteria) this;
        }

        public Criteria andFactoryCodeNotLike(String value) {
            addCriterion("factory_code not like", value, "factoryCode");
            return (Criteria) this;
        }

        public Criteria andFactoryCodeIn(List<String> values) {
            addCriterion("factory_code in", values, "factoryCode");
            return (Criteria) this;
        }

        public Criteria andFactoryCodeNotIn(List<String> values) {
            addCriterion("factory_code not in", values, "factoryCode");
            return (Criteria) this;
        }

        public Criteria andFactoryCodeBetween(String value1, String value2) {
            addCriterion("factory_code between", value1, value2, "factoryCode");
            return (Criteria) this;
        }

        public Criteria andFactoryCodeNotBetween(String value1, String value2) {
            addCriterion("factory_code not between", value1, value2, "factoryCode");
            return (Criteria) this;
        }

        public Criteria andFactoryNameIsNull() {
            addCriterion("factory_name is null");
            return (Criteria) this;
        }

        public Criteria andFactoryNameIsNotNull() {
            addCriterion("factory_name is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryNameEqualTo(String value) {
            addCriterion("factory_name =", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotEqualTo(String value) {
            addCriterion("factory_name <>", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameGreaterThan(String value) {
            addCriterion("factory_name >", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameGreaterThanOrEqualTo(String value) {
            addCriterion("factory_name >=", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameLessThan(String value) {
            addCriterion("factory_name <", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameLessThanOrEqualTo(String value) {
            addCriterion("factory_name <=", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameLike(String value) {
            addCriterion("factory_name like", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotLike(String value) {
            addCriterion("factory_name not like", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameIn(List<String> values) {
            addCriterion("factory_name in", values, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotIn(List<String> values) {
            addCriterion("factory_name not in", values, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameBetween(String value1, String value2) {
            addCriterion("factory_name between", value1, value2, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotBetween(String value1, String value2) {
            addCriterion("factory_name not between", value1, value2, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryDescribeIsNull() {
            addCriterion("factory_describe is null");
            return (Criteria) this;
        }

        public Criteria andFactoryDescribeIsNotNull() {
            addCriterion("factory_describe is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryDescribeEqualTo(String value) {
            addCriterion("factory_describe =", value, "factoryDescribe");
            return (Criteria) this;
        }

        public Criteria andFactoryDescribeNotEqualTo(String value) {
            addCriterion("factory_describe <>", value, "factoryDescribe");
            return (Criteria) this;
        }

        public Criteria andFactoryDescribeGreaterThan(String value) {
            addCriterion("factory_describe >", value, "factoryDescribe");
            return (Criteria) this;
        }

        public Criteria andFactoryDescribeGreaterThanOrEqualTo(String value) {
            addCriterion("factory_describe >=", value, "factoryDescribe");
            return (Criteria) this;
        }

        public Criteria andFactoryDescribeLessThan(String value) {
            addCriterion("factory_describe <", value, "factoryDescribe");
            return (Criteria) this;
        }

        public Criteria andFactoryDescribeLessThanOrEqualTo(String value) {
            addCriterion("factory_describe <=", value, "factoryDescribe");
            return (Criteria) this;
        }

        public Criteria andFactoryDescribeLike(String value) {
            addCriterion("factory_describe like", value, "factoryDescribe");
            return (Criteria) this;
        }

        public Criteria andFactoryDescribeNotLike(String value) {
            addCriterion("factory_describe not like", value, "factoryDescribe");
            return (Criteria) this;
        }

        public Criteria andFactoryDescribeIn(List<String> values) {
            addCriterion("factory_describe in", values, "factoryDescribe");
            return (Criteria) this;
        }

        public Criteria andFactoryDescribeNotIn(List<String> values) {
            addCriterion("factory_describe not in", values, "factoryDescribe");
            return (Criteria) this;
        }

        public Criteria andFactoryDescribeBetween(String value1, String value2) {
            addCriterion("factory_describe between", value1, value2, "factoryDescribe");
            return (Criteria) this;
        }

        public Criteria andFactoryDescribeNotBetween(String value1, String value2) {
            addCriterion("factory_describe not between", value1, value2, "factoryDescribe");
            return (Criteria) this;
        }

        public Criteria andFactoryAidIsNull() {
            addCriterion("factory_aid is null");
            return (Criteria) this;
        }

        public Criteria andFactoryAidIsNotNull() {
            addCriterion("factory_aid is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryAidEqualTo(String value) {
            addCriterion("factory_aid =", value, "factoryAid");
            return (Criteria) this;
        }

        public Criteria andFactoryAidNotEqualTo(String value) {
            addCriterion("factory_aid <>", value, "factoryAid");
            return (Criteria) this;
        }

        public Criteria andFactoryAidGreaterThan(String value) {
            addCriterion("factory_aid >", value, "factoryAid");
            return (Criteria) this;
        }

        public Criteria andFactoryAidGreaterThanOrEqualTo(String value) {
            addCriterion("factory_aid >=", value, "factoryAid");
            return (Criteria) this;
        }

        public Criteria andFactoryAidLessThan(String value) {
            addCriterion("factory_aid <", value, "factoryAid");
            return (Criteria) this;
        }

        public Criteria andFactoryAidLessThanOrEqualTo(String value) {
            addCriterion("factory_aid <=", value, "factoryAid");
            return (Criteria) this;
        }

        public Criteria andFactoryAidLike(String value) {
            addCriterion("factory_aid like", value, "factoryAid");
            return (Criteria) this;
        }

        public Criteria andFactoryAidNotLike(String value) {
            addCriterion("factory_aid not like", value, "factoryAid");
            return (Criteria) this;
        }

        public Criteria andFactoryAidIn(List<String> values) {
            addCriterion("factory_aid in", values, "factoryAid");
            return (Criteria) this;
        }

        public Criteria andFactoryAidNotIn(List<String> values) {
            addCriterion("factory_aid not in", values, "factoryAid");
            return (Criteria) this;
        }

        public Criteria andFactoryAidBetween(String value1, String value2) {
            addCriterion("factory_aid between", value1, value2, "factoryAid");
            return (Criteria) this;
        }

        public Criteria andFactoryAidNotBetween(String value1, String value2) {
            addCriterion("factory_aid not between", value1, value2, "factoryAid");
            return (Criteria) this;
        }

        public Criteria andFactoryOldCodeIsNull() {
            addCriterion("factory_old_code is null");
            return (Criteria) this;
        }

        public Criteria andFactoryOldCodeIsNotNull() {
            addCriterion("factory_old_code is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryOldCodeEqualTo(String value) {
            addCriterion("factory_old_code =", value, "factoryOldCode");
            return (Criteria) this;
        }

        public Criteria andFactoryOldCodeNotEqualTo(String value) {
            addCriterion("factory_old_code <>", value, "factoryOldCode");
            return (Criteria) this;
        }

        public Criteria andFactoryOldCodeGreaterThan(String value) {
            addCriterion("factory_old_code >", value, "factoryOldCode");
            return (Criteria) this;
        }

        public Criteria andFactoryOldCodeGreaterThanOrEqualTo(String value) {
            addCriterion("factory_old_code >=", value, "factoryOldCode");
            return (Criteria) this;
        }

        public Criteria andFactoryOldCodeLessThan(String value) {
            addCriterion("factory_old_code <", value, "factoryOldCode");
            return (Criteria) this;
        }

        public Criteria andFactoryOldCodeLessThanOrEqualTo(String value) {
            addCriterion("factory_old_code <=", value, "factoryOldCode");
            return (Criteria) this;
        }

        public Criteria andFactoryOldCodeLike(String value) {
            addCriterion("factory_old_code like", value, "factoryOldCode");
            return (Criteria) this;
        }

        public Criteria andFactoryOldCodeNotLike(String value) {
            addCriterion("factory_old_code not like", value, "factoryOldCode");
            return (Criteria) this;
        }

        public Criteria andFactoryOldCodeIn(List<String> values) {
            addCriterion("factory_old_code in", values, "factoryOldCode");
            return (Criteria) this;
        }

        public Criteria andFactoryOldCodeNotIn(List<String> values) {
            addCriterion("factory_old_code not in", values, "factoryOldCode");
            return (Criteria) this;
        }

        public Criteria andFactoryOldCodeBetween(String value1, String value2) {
            addCriterion("factory_old_code between", value1, value2, "factoryOldCode");
            return (Criteria) this;
        }

        public Criteria andFactoryOldCodeNotBetween(String value1, String value2) {
            addCriterion("factory_old_code not between", value1, value2, "factoryOldCode");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyIdIsNull() {
            addCriterion("factory_property_id is null");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyIdIsNotNull() {
            addCriterion("factory_property_id is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyIdEqualTo(BigDecimal value) {
            addCriterion("factory_property_id =", value, "factoryPropertyId");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyIdNotEqualTo(BigDecimal value) {
            addCriterion("factory_property_id <>", value, "factoryPropertyId");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyIdGreaterThan(BigDecimal value) {
            addCriterion("factory_property_id >", value, "factoryPropertyId");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyIdGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("factory_property_id >=", value, "factoryPropertyId");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyIdLessThan(BigDecimal value) {
            addCriterion("factory_property_id <", value, "factoryPropertyId");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyIdLessThanOrEqualTo(BigDecimal value) {
            addCriterion("factory_property_id <=", value, "factoryPropertyId");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyIdIn(List<BigDecimal> values) {
            addCriterion("factory_property_id in", values, "factoryPropertyId");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyIdNotIn(List<BigDecimal> values) {
            addCriterion("factory_property_id not in", values, "factoryPropertyId");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyIdBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("factory_property_id between", value1, value2, "factoryPropertyId");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyIdNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("factory_property_id not between", value1, value2, "factoryPropertyId");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyCodeIsNull() {
            addCriterion("factory_property_code is null");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyCodeIsNotNull() {
            addCriterion("factory_property_code is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyCodeEqualTo(String value) {
            addCriterion("factory_property_code =", value, "factoryPropertyCode");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyCodeNotEqualTo(String value) {
            addCriterion("factory_property_code <>", value, "factoryPropertyCode");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyCodeGreaterThan(String value) {
            addCriterion("factory_property_code >", value, "factoryPropertyCode");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyCodeGreaterThanOrEqualTo(String value) {
            addCriterion("factory_property_code >=", value, "factoryPropertyCode");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyCodeLessThan(String value) {
            addCriterion("factory_property_code <", value, "factoryPropertyCode");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyCodeLessThanOrEqualTo(String value) {
            addCriterion("factory_property_code <=", value, "factoryPropertyCode");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyCodeLike(String value) {
            addCriterion("factory_property_code like", value, "factoryPropertyCode");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyCodeNotLike(String value) {
            addCriterion("factory_property_code not like", value, "factoryPropertyCode");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyCodeIn(List<String> values) {
            addCriterion("factory_property_code in", values, "factoryPropertyCode");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyCodeNotIn(List<String> values) {
            addCriterion("factory_property_code not in", values, "factoryPropertyCode");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyCodeBetween(String value1, String value2) {
            addCriterion("factory_property_code between", value1, value2, "factoryPropertyCode");
            return (Criteria) this;
        }

        public Criteria andFactoryPropertyCodeNotBetween(String value1, String value2) {
            addCriterion("factory_property_code not between", value1, value2, "factoryPropertyCode");
            return (Criteria) this;
        }

        public Criteria andFactoryStateIsNull() {
            addCriterion("factory_state is null");
            return (Criteria) this;
        }

        public Criteria andFactoryStateIsNotNull() {
            addCriterion("factory_state is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryStateEqualTo(String value) {
            addCriterion("factory_state =", value, "factoryState");
            return (Criteria) this;
        }

        public Criteria andFactoryStateNotEqualTo(String value) {
            addCriterion("factory_state <>", value, "factoryState");
            return (Criteria) this;
        }

        public Criteria andFactoryStateGreaterThan(String value) {
            addCriterion("factory_state >", value, "factoryState");
            return (Criteria) this;
        }

        public Criteria andFactoryStateGreaterThanOrEqualTo(String value) {
            addCriterion("factory_state >=", value, "factoryState");
            return (Criteria) this;
        }

        public Criteria andFactoryStateLessThan(String value) {
            addCriterion("factory_state <", value, "factoryState");
            return (Criteria) this;
        }

        public Criteria andFactoryStateLessThanOrEqualTo(String value) {
            addCriterion("factory_state <=", value, "factoryState");
            return (Criteria) this;
        }

        public Criteria andFactoryStateLike(String value) {
            addCriterion("factory_state like", value, "factoryState");
            return (Criteria) this;
        }

        public Criteria andFactoryStateNotLike(String value) {
            addCriterion("factory_state not like", value, "factoryState");
            return (Criteria) this;
        }

        public Criteria andFactoryStateIn(List<String> values) {
            addCriterion("factory_state in", values, "factoryState");
            return (Criteria) this;
        }

        public Criteria andFactoryStateNotIn(List<String> values) {
            addCriterion("factory_state not in", values, "factoryState");
            return (Criteria) this;
        }

        public Criteria andFactoryStateBetween(String value1, String value2) {
            addCriterion("factory_state between", value1, value2, "factoryState");
            return (Criteria) this;
        }

        public Criteria andFactoryStateNotBetween(String value1, String value2) {
            addCriterion("factory_state not between", value1, value2, "factoryState");
            return (Criteria) this;
        }

        public Criteria andProvinceIdIsNull() {
            addCriterion("province_id is null");
            return (Criteria) this;
        }

        public Criteria andProvinceIdIsNotNull() {
            addCriterion("province_id is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceIdEqualTo(String value) {
            addCriterion("province_id =", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdNotEqualTo(String value) {
            addCriterion("province_id <>", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdGreaterThan(String value) {
            addCriterion("province_id >", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdGreaterThanOrEqualTo(String value) {
            addCriterion("province_id >=", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdLessThan(String value) {
            addCriterion("province_id <", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdLessThanOrEqualTo(String value) {
            addCriterion("province_id <=", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdLike(String value) {
            addCriterion("province_id like", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdNotLike(String value) {
            addCriterion("province_id not like", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdIn(List<String> values) {
            addCriterion("province_id in", values, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdNotIn(List<String> values) {
            addCriterion("province_id not in", values, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdBetween(String value1, String value2) {
            addCriterion("province_id between", value1, value2, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdNotBetween(String value1, String value2) {
            addCriterion("province_id not between", value1, value2, "provinceId");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNull() {
            addCriterion("city_id is null");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNotNull() {
            addCriterion("city_id is not null");
            return (Criteria) this;
        }

        public Criteria andCityIdEqualTo(String value) {
            addCriterion("city_id =", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotEqualTo(String value) {
            addCriterion("city_id <>", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThan(String value) {
            addCriterion("city_id >", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThanOrEqualTo(String value) {
            addCriterion("city_id >=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThan(String value) {
            addCriterion("city_id <", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThanOrEqualTo(String value) {
            addCriterion("city_id <=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLike(String value) {
            addCriterion("city_id like", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotLike(String value) {
            addCriterion("city_id not like", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdIn(List<String> values) {
            addCriterion("city_id in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotIn(List<String> values) {
            addCriterion("city_id not in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdBetween(String value1, String value2) {
            addCriterion("city_id between", value1, value2, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotBetween(String value1, String value2) {
            addCriterion("city_id not between", value1, value2, "cityId");
            return (Criteria) this;
        }

        public Criteria andAreaIdIsNull() {
            addCriterion("area_id is null");
            return (Criteria) this;
        }

        public Criteria andAreaIdIsNotNull() {
            addCriterion("area_id is not null");
            return (Criteria) this;
        }

        public Criteria andAreaIdEqualTo(String value) {
            addCriterion("area_id =", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdNotEqualTo(String value) {
            addCriterion("area_id <>", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdGreaterThan(String value) {
            addCriterion("area_id >", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdGreaterThanOrEqualTo(String value) {
            addCriterion("area_id >=", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdLessThan(String value) {
            addCriterion("area_id <", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdLessThanOrEqualTo(String value) {
            addCriterion("area_id <=", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdLike(String value) {
            addCriterion("area_id like", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdNotLike(String value) {
            addCriterion("area_id not like", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdIn(List<String> values) {
            addCriterion("area_id in", values, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdNotIn(List<String> values) {
            addCriterion("area_id not in", values, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdBetween(String value1, String value2) {
            addCriterion("area_id between", value1, value2, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdNotBetween(String value1, String value2) {
            addCriterion("area_id not between", value1, value2, "areaId");
            return (Criteria) this;
        }

        public Criteria andCountyNameIsNull() {
            addCriterion("county_name is null");
            return (Criteria) this;
        }

        public Criteria andCountyNameIsNotNull() {
            addCriterion("county_name is not null");
            return (Criteria) this;
        }

        public Criteria andCountyNameEqualTo(String value) {
            addCriterion("county_name =", value, "countyName");
            return (Criteria) this;
        }

        public Criteria andCountyNameNotEqualTo(String value) {
            addCriterion("county_name <>", value, "countyName");
            return (Criteria) this;
        }

        public Criteria andCountyNameGreaterThan(String value) {
            addCriterion("county_name >", value, "countyName");
            return (Criteria) this;
        }

        public Criteria andCountyNameGreaterThanOrEqualTo(String value) {
            addCriterion("county_name >=", value, "countyName");
            return (Criteria) this;
        }

        public Criteria andCountyNameLessThan(String value) {
            addCriterion("county_name <", value, "countyName");
            return (Criteria) this;
        }

        public Criteria andCountyNameLessThanOrEqualTo(String value) {
            addCriterion("county_name <=", value, "countyName");
            return (Criteria) this;
        }

        public Criteria andCountyNameLike(String value) {
            addCriterion("county_name like", value, "countyName");
            return (Criteria) this;
        }

        public Criteria andCountyNameNotLike(String value) {
            addCriterion("county_name not like", value, "countyName");
            return (Criteria) this;
        }

        public Criteria andCountyNameIn(List<String> values) {
            addCriterion("county_name in", values, "countyName");
            return (Criteria) this;
        }

        public Criteria andCountyNameNotIn(List<String> values) {
            addCriterion("county_name not in", values, "countyName");
            return (Criteria) this;
        }

        public Criteria andCountyNameBetween(String value1, String value2) {
            addCriterion("county_name between", value1, value2, "countyName");
            return (Criteria) this;
        }

        public Criteria andCountyNameNotBetween(String value1, String value2) {
            addCriterion("county_name not between", value1, value2, "countyName");
            return (Criteria) this;
        }

        public Criteria andFactoryLinkmanIsNull() {
            addCriterion("factory_linkman is null");
            return (Criteria) this;
        }

        public Criteria andFactoryLinkmanIsNotNull() {
            addCriterion("factory_linkman is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryLinkmanEqualTo(String value) {
            addCriterion("factory_linkman =", value, "factoryLinkman");
            return (Criteria) this;
        }

        public Criteria andFactoryLinkmanNotEqualTo(String value) {
            addCriterion("factory_linkman <>", value, "factoryLinkman");
            return (Criteria) this;
        }

        public Criteria andFactoryLinkmanGreaterThan(String value) {
            addCriterion("factory_linkman >", value, "factoryLinkman");
            return (Criteria) this;
        }

        public Criteria andFactoryLinkmanGreaterThanOrEqualTo(String value) {
            addCriterion("factory_linkman >=", value, "factoryLinkman");
            return (Criteria) this;
        }

        public Criteria andFactoryLinkmanLessThan(String value) {
            addCriterion("factory_linkman <", value, "factoryLinkman");
            return (Criteria) this;
        }

        public Criteria andFactoryLinkmanLessThanOrEqualTo(String value) {
            addCriterion("factory_linkman <=", value, "factoryLinkman");
            return (Criteria) this;
        }

        public Criteria andFactoryLinkmanLike(String value) {
            addCriterion("factory_linkman like", value, "factoryLinkman");
            return (Criteria) this;
        }

        public Criteria andFactoryLinkmanNotLike(String value) {
            addCriterion("factory_linkman not like", value, "factoryLinkman");
            return (Criteria) this;
        }

        public Criteria andFactoryLinkmanIn(List<String> values) {
            addCriterion("factory_linkman in", values, "factoryLinkman");
            return (Criteria) this;
        }

        public Criteria andFactoryLinkmanNotIn(List<String> values) {
            addCriterion("factory_linkman not in", values, "factoryLinkman");
            return (Criteria) this;
        }

        public Criteria andFactoryLinkmanBetween(String value1, String value2) {
            addCriterion("factory_linkman between", value1, value2, "factoryLinkman");
            return (Criteria) this;
        }

        public Criteria andFactoryLinkmanNotBetween(String value1, String value2) {
            addCriterion("factory_linkman not between", value1, value2, "factoryLinkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanMobileIsNull() {
            addCriterion("linkman_mobile is null");
            return (Criteria) this;
        }

        public Criteria andLinkmanMobileIsNotNull() {
            addCriterion("linkman_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andLinkmanMobileEqualTo(String value) {
            addCriterion("linkman_mobile =", value, "linkmanMobile");
            return (Criteria) this;
        }

        public Criteria andLinkmanMobileNotEqualTo(String value) {
            addCriterion("linkman_mobile <>", value, "linkmanMobile");
            return (Criteria) this;
        }

        public Criteria andLinkmanMobileGreaterThan(String value) {
            addCriterion("linkman_mobile >", value, "linkmanMobile");
            return (Criteria) this;
        }

        public Criteria andLinkmanMobileGreaterThanOrEqualTo(String value) {
            addCriterion("linkman_mobile >=", value, "linkmanMobile");
            return (Criteria) this;
        }

        public Criteria andLinkmanMobileLessThan(String value) {
            addCriterion("linkman_mobile <", value, "linkmanMobile");
            return (Criteria) this;
        }

        public Criteria andLinkmanMobileLessThanOrEqualTo(String value) {
            addCriterion("linkman_mobile <=", value, "linkmanMobile");
            return (Criteria) this;
        }

        public Criteria andLinkmanMobileLike(String value) {
            addCriterion("linkman_mobile like", value, "linkmanMobile");
            return (Criteria) this;
        }

        public Criteria andLinkmanMobileNotLike(String value) {
            addCriterion("linkman_mobile not like", value, "linkmanMobile");
            return (Criteria) this;
        }

        public Criteria andLinkmanMobileIn(List<String> values) {
            addCriterion("linkman_mobile in", values, "linkmanMobile");
            return (Criteria) this;
        }

        public Criteria andLinkmanMobileNotIn(List<String> values) {
            addCriterion("linkman_mobile not in", values, "linkmanMobile");
            return (Criteria) this;
        }

        public Criteria andLinkmanMobileBetween(String value1, String value2) {
            addCriterion("linkman_mobile between", value1, value2, "linkmanMobile");
            return (Criteria) this;
        }

        public Criteria andLinkmanMobileNotBetween(String value1, String value2) {
            addCriterion("linkman_mobile not between", value1, value2, "linkmanMobile");
            return (Criteria) this;
        }

        public Criteria andLinkmanTelIsNull() {
            addCriterion("linkman_tel is null");
            return (Criteria) this;
        }

        public Criteria andLinkmanTelIsNotNull() {
            addCriterion("linkman_tel is not null");
            return (Criteria) this;
        }

        public Criteria andLinkmanTelEqualTo(String value) {
            addCriterion("linkman_tel =", value, "linkmanTel");
            return (Criteria) this;
        }

        public Criteria andLinkmanTelNotEqualTo(String value) {
            addCriterion("linkman_tel <>", value, "linkmanTel");
            return (Criteria) this;
        }

        public Criteria andLinkmanTelGreaterThan(String value) {
            addCriterion("linkman_tel >", value, "linkmanTel");
            return (Criteria) this;
        }

        public Criteria andLinkmanTelGreaterThanOrEqualTo(String value) {
            addCriterion("linkman_tel >=", value, "linkmanTel");
            return (Criteria) this;
        }

        public Criteria andLinkmanTelLessThan(String value) {
            addCriterion("linkman_tel <", value, "linkmanTel");
            return (Criteria) this;
        }

        public Criteria andLinkmanTelLessThanOrEqualTo(String value) {
            addCriterion("linkman_tel <=", value, "linkmanTel");
            return (Criteria) this;
        }

        public Criteria andLinkmanTelLike(String value) {
            addCriterion("linkman_tel like", value, "linkmanTel");
            return (Criteria) this;
        }

        public Criteria andLinkmanTelNotLike(String value) {
            addCriterion("linkman_tel not like", value, "linkmanTel");
            return (Criteria) this;
        }

        public Criteria andLinkmanTelIn(List<String> values) {
            addCriterion("linkman_tel in", values, "linkmanTel");
            return (Criteria) this;
        }

        public Criteria andLinkmanTelNotIn(List<String> values) {
            addCriterion("linkman_tel not in", values, "linkmanTel");
            return (Criteria) this;
        }

        public Criteria andLinkmanTelBetween(String value1, String value2) {
            addCriterion("linkman_tel between", value1, value2, "linkmanTel");
            return (Criteria) this;
        }

        public Criteria andLinkmanTelNotBetween(String value1, String value2) {
            addCriterion("linkman_tel not between", value1, value2, "linkmanTel");
            return (Criteria) this;
        }

        public Criteria andFaxIsNull() {
            addCriterion("fax is null");
            return (Criteria) this;
        }

        public Criteria andFaxIsNotNull() {
            addCriterion("fax is not null");
            return (Criteria) this;
        }

        public Criteria andFaxEqualTo(String value) {
            addCriterion("fax =", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxNotEqualTo(String value) {
            addCriterion("fax <>", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxGreaterThan(String value) {
            addCriterion("fax >", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxGreaterThanOrEqualTo(String value) {
            addCriterion("fax >=", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxLessThan(String value) {
            addCriterion("fax <", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxLessThanOrEqualTo(String value) {
            addCriterion("fax <=", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxLike(String value) {
            addCriterion("fax like", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxNotLike(String value) {
            addCriterion("fax not like", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxIn(List<String> values) {
            addCriterion("fax in", values, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxNotIn(List<String> values) {
            addCriterion("fax not in", values, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxBetween(String value1, String value2) {
            addCriterion("fax between", value1, value2, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxNotBetween(String value1, String value2) {
            addCriterion("fax not between", value1, value2, "fax");
            return (Criteria) this;
        }

        public Criteria andLinkmanEmailIsNull() {
            addCriterion("linkman_email is null");
            return (Criteria) this;
        }

        public Criteria andLinkmanEmailIsNotNull() {
            addCriterion("linkman_email is not null");
            return (Criteria) this;
        }

        public Criteria andLinkmanEmailEqualTo(String value) {
            addCriterion("linkman_email =", value, "linkmanEmail");
            return (Criteria) this;
        }

        public Criteria andLinkmanEmailNotEqualTo(String value) {
            addCriterion("linkman_email <>", value, "linkmanEmail");
            return (Criteria) this;
        }

        public Criteria andLinkmanEmailGreaterThan(String value) {
            addCriterion("linkman_email >", value, "linkmanEmail");
            return (Criteria) this;
        }

        public Criteria andLinkmanEmailGreaterThanOrEqualTo(String value) {
            addCriterion("linkman_email >=", value, "linkmanEmail");
            return (Criteria) this;
        }

        public Criteria andLinkmanEmailLessThan(String value) {
            addCriterion("linkman_email <", value, "linkmanEmail");
            return (Criteria) this;
        }

        public Criteria andLinkmanEmailLessThanOrEqualTo(String value) {
            addCriterion("linkman_email <=", value, "linkmanEmail");
            return (Criteria) this;
        }

        public Criteria andLinkmanEmailLike(String value) {
            addCriterion("linkman_email like", value, "linkmanEmail");
            return (Criteria) this;
        }

        public Criteria andLinkmanEmailNotLike(String value) {
            addCriterion("linkman_email not like", value, "linkmanEmail");
            return (Criteria) this;
        }

        public Criteria andLinkmanEmailIn(List<String> values) {
            addCriterion("linkman_email in", values, "linkmanEmail");
            return (Criteria) this;
        }

        public Criteria andLinkmanEmailNotIn(List<String> values) {
            addCriterion("linkman_email not in", values, "linkmanEmail");
            return (Criteria) this;
        }

        public Criteria andLinkmanEmailBetween(String value1, String value2) {
            addCriterion("linkman_email between", value1, value2, "linkmanEmail");
            return (Criteria) this;
        }

        public Criteria andLinkmanEmailNotBetween(String value1, String value2) {
            addCriterion("linkman_email not between", value1, value2, "linkmanEmail");
            return (Criteria) this;
        }

        public Criteria andFactoryPostcodeIsNull() {
            addCriterion("factory_postcode is null");
            return (Criteria) this;
        }

        public Criteria andFactoryPostcodeIsNotNull() {
            addCriterion("factory_postcode is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryPostcodeEqualTo(String value) {
            addCriterion("factory_postcode =", value, "factoryPostcode");
            return (Criteria) this;
        }

        public Criteria andFactoryPostcodeNotEqualTo(String value) {
            addCriterion("factory_postcode <>", value, "factoryPostcode");
            return (Criteria) this;
        }

        public Criteria andFactoryPostcodeGreaterThan(String value) {
            addCriterion("factory_postcode >", value, "factoryPostcode");
            return (Criteria) this;
        }

        public Criteria andFactoryPostcodeGreaterThanOrEqualTo(String value) {
            addCriterion("factory_postcode >=", value, "factoryPostcode");
            return (Criteria) this;
        }

        public Criteria andFactoryPostcodeLessThan(String value) {
            addCriterion("factory_postcode <", value, "factoryPostcode");
            return (Criteria) this;
        }

        public Criteria andFactoryPostcodeLessThanOrEqualTo(String value) {
            addCriterion("factory_postcode <=", value, "factoryPostcode");
            return (Criteria) this;
        }

        public Criteria andFactoryPostcodeLike(String value) {
            addCriterion("factory_postcode like", value, "factoryPostcode");
            return (Criteria) this;
        }

        public Criteria andFactoryPostcodeNotLike(String value) {
            addCriterion("factory_postcode not like", value, "factoryPostcode");
            return (Criteria) this;
        }

        public Criteria andFactoryPostcodeIn(List<String> values) {
            addCriterion("factory_postcode in", values, "factoryPostcode");
            return (Criteria) this;
        }

        public Criteria andFactoryPostcodeNotIn(List<String> values) {
            addCriterion("factory_postcode not in", values, "factoryPostcode");
            return (Criteria) this;
        }

        public Criteria andFactoryPostcodeBetween(String value1, String value2) {
            addCriterion("factory_postcode between", value1, value2, "factoryPostcode");
            return (Criteria) this;
        }

        public Criteria andFactoryPostcodeNotBetween(String value1, String value2) {
            addCriterion("factory_postcode not between", value1, value2, "factoryPostcode");
            return (Criteria) this;
        }

        public Criteria andFactoryAddressIsNull() {
            addCriterion("factory_address is null");
            return (Criteria) this;
        }

        public Criteria andFactoryAddressIsNotNull() {
            addCriterion("factory_address is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryAddressEqualTo(String value) {
            addCriterion("factory_address =", value, "factoryAddress");
            return (Criteria) this;
        }

        public Criteria andFactoryAddressNotEqualTo(String value) {
            addCriterion("factory_address <>", value, "factoryAddress");
            return (Criteria) this;
        }

        public Criteria andFactoryAddressGreaterThan(String value) {
            addCriterion("factory_address >", value, "factoryAddress");
            return (Criteria) this;
        }

        public Criteria andFactoryAddressGreaterThanOrEqualTo(String value) {
            addCriterion("factory_address >=", value, "factoryAddress");
            return (Criteria) this;
        }

        public Criteria andFactoryAddressLessThan(String value) {
            addCriterion("factory_address <", value, "factoryAddress");
            return (Criteria) this;
        }

        public Criteria andFactoryAddressLessThanOrEqualTo(String value) {
            addCriterion("factory_address <=", value, "factoryAddress");
            return (Criteria) this;
        }

        public Criteria andFactoryAddressLike(String value) {
            addCriterion("factory_address like", value, "factoryAddress");
            return (Criteria) this;
        }

        public Criteria andFactoryAddressNotLike(String value) {
            addCriterion("factory_address not like", value, "factoryAddress");
            return (Criteria) this;
        }

        public Criteria andFactoryAddressIn(List<String> values) {
            addCriterion("factory_address in", values, "factoryAddress");
            return (Criteria) this;
        }

        public Criteria andFactoryAddressNotIn(List<String> values) {
            addCriterion("factory_address not in", values, "factoryAddress");
            return (Criteria) this;
        }

        public Criteria andFactoryAddressBetween(String value1, String value2) {
            addCriterion("factory_address between", value1, value2, "factoryAddress");
            return (Criteria) this;
        }

        public Criteria andFactoryAddressNotBetween(String value1, String value2) {
            addCriterion("factory_address not between", value1, value2, "factoryAddress");
            return (Criteria) this;
        }

        public Criteria andFactoryUrlIsNull() {
            addCriterion("factory_url is null");
            return (Criteria) this;
        }

        public Criteria andFactoryUrlIsNotNull() {
            addCriterion("factory_url is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryUrlEqualTo(String value) {
            addCriterion("factory_url =", value, "factoryUrl");
            return (Criteria) this;
        }

        public Criteria andFactoryUrlNotEqualTo(String value) {
            addCriterion("factory_url <>", value, "factoryUrl");
            return (Criteria) this;
        }

        public Criteria andFactoryUrlGreaterThan(String value) {
            addCriterion("factory_url >", value, "factoryUrl");
            return (Criteria) this;
        }

        public Criteria andFactoryUrlGreaterThanOrEqualTo(String value) {
            addCriterion("factory_url >=", value, "factoryUrl");
            return (Criteria) this;
        }

        public Criteria andFactoryUrlLessThan(String value) {
            addCriterion("factory_url <", value, "factoryUrl");
            return (Criteria) this;
        }

        public Criteria andFactoryUrlLessThanOrEqualTo(String value) {
            addCriterion("factory_url <=", value, "factoryUrl");
            return (Criteria) this;
        }

        public Criteria andFactoryUrlLike(String value) {
            addCriterion("factory_url like", value, "factoryUrl");
            return (Criteria) this;
        }

        public Criteria andFactoryUrlNotLike(String value) {
            addCriterion("factory_url not like", value, "factoryUrl");
            return (Criteria) this;
        }

        public Criteria andFactoryUrlIn(List<String> values) {
            addCriterion("factory_url in", values, "factoryUrl");
            return (Criteria) this;
        }

        public Criteria andFactoryUrlNotIn(List<String> values) {
            addCriterion("factory_url not in", values, "factoryUrl");
            return (Criteria) this;
        }

        public Criteria andFactoryUrlBetween(String value1, String value2) {
            addCriterion("factory_url between", value1, value2, "factoryUrl");
            return (Criteria) this;
        }

        public Criteria andFactoryUrlNotBetween(String value1, String value2) {
            addCriterion("factory_url not between", value1, value2, "factoryUrl");
            return (Criteria) this;
        }

        public Criteria andFactoryImIsNull() {
            addCriterion("factory_im is null");
            return (Criteria) this;
        }

        public Criteria andFactoryImIsNotNull() {
            addCriterion("factory_im is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryImEqualTo(String value) {
            addCriterion("factory_im =", value, "factoryIm");
            return (Criteria) this;
        }

        public Criteria andFactoryImNotEqualTo(String value) {
            addCriterion("factory_im <>", value, "factoryIm");
            return (Criteria) this;
        }

        public Criteria andFactoryImGreaterThan(String value) {
            addCriterion("factory_im >", value, "factoryIm");
            return (Criteria) this;
        }

        public Criteria andFactoryImGreaterThanOrEqualTo(String value) {
            addCriterion("factory_im >=", value, "factoryIm");
            return (Criteria) this;
        }

        public Criteria andFactoryImLessThan(String value) {
            addCriterion("factory_im <", value, "factoryIm");
            return (Criteria) this;
        }

        public Criteria andFactoryImLessThanOrEqualTo(String value) {
            addCriterion("factory_im <=", value, "factoryIm");
            return (Criteria) this;
        }

        public Criteria andFactoryImLike(String value) {
            addCriterion("factory_im like", value, "factoryIm");
            return (Criteria) this;
        }

        public Criteria andFactoryImNotLike(String value) {
            addCriterion("factory_im not like", value, "factoryIm");
            return (Criteria) this;
        }

        public Criteria andFactoryImIn(List<String> values) {
            addCriterion("factory_im in", values, "factoryIm");
            return (Criteria) this;
        }

        public Criteria andFactoryImNotIn(List<String> values) {
            addCriterion("factory_im not in", values, "factoryIm");
            return (Criteria) this;
        }

        public Criteria andFactoryImBetween(String value1, String value2) {
            addCriterion("factory_im between", value1, value2, "factoryIm");
            return (Criteria) this;
        }

        public Criteria andFactoryImNotBetween(String value1, String value2) {
            addCriterion("factory_im not between", value1, value2, "factoryIm");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}